<?php
class indexAction extends ecAction{

  public function showIndex()
  {
    //var_dump(ecConnectionDatabase::getDbMaster()->select('test', '*')->fetchAllAssoc());
   /* $this->setTitle('toto');
    $this->setMetaTags(array('description' => 'hello toto ici tata',
                              "keywords" => 'hello, mama, yo babe'));

    $array = array(

        'icon1' => array('rel'  => 'shortcut icon',
                         'href' => 'http://www.alsacreations.com/favicon.ico'
                        ),
        'icon2' => array('rel'  => 'icon',
                         'type' => 'image/x-icon',
                         'href' => 'http://www.alsacreations.com/favicon.ico'
                        ),
        'icon3' => array('rel'  => 'icon',
                         'type' => 'image/png',
                         'href' => 'http://www.alsacreations.com/favicon.png'
                        ),
    );
    
    $this->setLinks($array);
*/

    $this->loadTemplate('article');
  }

  public function showYou()
  {
    echo "<pre>";
    print_r($this->getViewParams());
    echo "</pre>";
  }
}
